package com.ruoyi.statistics.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 耕地对象 statistics_gd_data
 *
 * @author rww
 * @date 2023-06-06
 */
public class StatisticsGdData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 省编码 */
//    @Excel(name = "省编码")
    private String provinceCode;

    /** 市编码 */
//    @Excel(name = "市编码")
    private String cityCode;

    /** 区编码 */
//    @Excel(name = "区编码")
    private String districtCode;

    /** 中心位置 */
//    @Excel(name = "中心位置")
    private String center;

    /** 耕地类型 */
    @Excel(name = "耕地类型")
    private String type;

    /** 数据 */
    @Excel(name = "数据")
    private Double data;


    private List<GdDistrictVo> areas;
    private List<String> types;


    public List<GdDistrictVo> getAreas() {
        return areas;
    }

    public void setAreas(List<GdDistrictVo> areas) {
        this.areas = areas;
    }

    public List<String> getTypes() {
        return types;
    }

    public void setTypes(List<String> types) {
        this.types = types;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setDistrict(String district)
    {
        this.district = district;
    }

    public String getDistrict()
    {
        return district;
    }
    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }
    public void setDistrictCode(String districtCode)
    {
        this.districtCode = districtCode;
    }

    public String getDistrictCode()
    {
        return districtCode;
    }
    public void setCenter(String center)
    {
        this.center = center;
    }

    public String getCenter()
    {
        return center;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setData(Double data)
    {
        this.data = data;
    }

    public Double getData()
    {
        return data;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("provinceCode", getProvinceCode())
            .append("cityCode", getCityCode())
            .append("districtCode", getDistrictCode())
            .append("center", getCenter())
            .append("type", getType())
            .append("data", getData())
            .toString();
    }
}
